package com.ddh.codeduck;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.ddh.codeduck", "com.ddhcodeduck"})
@MapperScan("com.ddh.codeduck.mapper")
public class CodeDuckApplication {
    public static void main(String[] args) {
        SpringApplication.run(CodeDuckApplication.class, args);
    }
}

